package com.dragons.dragonsvf.entities;

import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.sql.Timestamp;

/**
 * @author Dragons.G
 * @date 2025-05-05 17:15:07
 * @description 模块信息接收类
 */
public class ModulesInformationDTO {

    private String id;
    private String moduleName;
    private String moduleHostAddress;
    private String modulePort;
    private String moduleAccount;
    private String moduleAcrossPwd;
    private String moduleEncryptPwd;
    private String moduleEncryptType;
    private Timestamp moduleCreateTm;
    private Timestamp moduleUpdateTm;



    public ModulesInformationDTO() {
    }
    public ModulesInformationDTO(String id, String moduleName, String moduleHostAddress, String modulePort, String moduleAccount, String moduleAcrossPwd, String moduleEncryptPwd, String moduleEncryptType, Timestamp moduleCreateTm, Timestamp moduleUpdateTm) {
        this.id = id;
        this.moduleName = moduleName;
        this.moduleHostAddress = moduleHostAddress;
        this.modulePort = modulePort;
        this.moduleAccount = moduleAccount;
        this.moduleAcrossPwd = moduleAcrossPwd;
        this.moduleEncryptPwd = moduleEncryptPwd;
        this.moduleEncryptType = moduleEncryptType;
        this.moduleCreateTm = moduleCreateTm;
        this.moduleUpdateTm = moduleUpdateTm;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getModuleHostAddress() {
        return moduleHostAddress;
    }

    public void setModuleHostAddress(String moduleHostAddress) {
        this.moduleHostAddress = moduleHostAddress;
    }

    public String getModulePort() {
        return modulePort;
    }

    public void setModulePort(String modulePort) {
        this.modulePort = modulePort;
    }

    public String getModuleAccount() {
        return moduleAccount;
    }

    public void setModuleAccount(String moduleAccount) {
        this.moduleAccount = moduleAccount;
    }

    public String getModuleAcrossPwd() {
        return moduleAcrossPwd;
    }

    public void setModuleAcrossPwd(String moduleAcrossPwd) {
        this.moduleAcrossPwd = moduleAcrossPwd;
    }

    public String getModuleEncryptPwd() {
        return moduleEncryptPwd;
    }

    public void setModuleEncryptPwd(String moduleEncryptPwd) {
        this.moduleEncryptPwd = moduleEncryptPwd;
    }

    public String getModuleEncryptType() {
        return moduleEncryptType;
    }

    public void setModuleEncryptType(String moduleEncryptType) {
        this.moduleEncryptType = moduleEncryptType;
    }

    public Timestamp getModuleCreateTm() {
        return moduleCreateTm;
    }

    public void setModuleCreateTm(Timestamp moduleCreateTm) {
        this.moduleCreateTm = moduleCreateTm;
    }

    public Timestamp getModuleUpdateTm() {
        return moduleUpdateTm;
    }

    public void setModuleUpdateTm(Timestamp moduleUpdateTm) {
        this.moduleUpdateTm = moduleUpdateTm;
    }

    @Override
    public String toString() {
        return "ModulesInformationDTO{" +
            "id='" + id + '\'' +
            ", moduleName='" + moduleName + '\'' +
            ", moduleHostAddress='" + moduleHostAddress + '\'' +
            ", modulePort='" + modulePort + '\'' +
            ", moduleAccount='" + moduleAccount + '\'' +
            ", moduleAcrossPwd='" + moduleAcrossPwd + '\'' +
            ", moduleEncryptPwd='" + moduleEncryptPwd + '\'' +
            ", moduleEncryptType='" + moduleEncryptType + '\'' +
            ", moduleCreateTm=" + moduleCreateTm +
            ", moduleUpdateTm=" + moduleUpdateTm +
            '}';
    }
}
